-
Home
-
GiveWP – Donation Plugin and Fundraising Platform
-
4.12.0 (latest)
-
Code
-
Classes
- DonationCreateData
| Total Complexity |
55 |
| Dependencies |
8 |
| Dependents |
1 |
| Total lines |
410 |
| Lines of code |
181 |
| Logical lines of code |
76 |
| Comment lines |
158 |
| Methods |
18 |
| Properties |
5 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| validateSubscriptionRules() |
A |
44 |
14 |
47 |
| validateCreateRenewal() |
A |
49 |
7 |
34 |
| processAttributes() |
S |
60 |
5 |
13 |
| validateCreateDonation() |
S |
55 |
4 |
19 |
| determineIfRenewal() |
S |
70 |
4 |
6 |
| updateSubscriptionRenewalDate() |
S |
70 |
3 |
6 |
| shouldUpdateRenewalDate() |
S |
78 |
3 |
3 |
| createRenewal() |
S |
60 |
2 |
13 |
| isSubscriptionOrRenewal() |
S |
77 |
2 |
3 |
| isSingle() |
S |
80 |
2 |
3 |
| isSubscription() |
S |
80 |
2 |
3 |
| __construct() |
S |
67 |
1 |
7 |
| fromRequest() |
S |
80 |
1 |
3 |
| createDonation() |
S |
65 |
1 |
9 |
| getType() |
S |
82 |
1 |
3 |
| isRenewal() |
S |
82 |
1 |
3 |
| getSubscriptionId() |
S |
82 |
1 |
3 |
| getAttributes() |
S |
82 |
1 |
3 |